//
// Created by tang on 2022/1/11.
//

#ifndef DIARYTOOL_REDMINE_TOOLS_VIEW_HPP
#define DIARYTOOL_REDMINE_TOOLS_VIEW_HPP

#include <vector>
#include "gui/ui_component.hpp"

struct RedMineData;
class RedMineToolsView final : public UiComponent
{
    RedMineData* d;
public:
    RedMineToolsView();
    ~RedMineToolsView();

    [[nodiscard]] unsigned int Flags() const override;

    void RenderContent(ComponentFlag flag) override;

    const char* GetName(ComponentFlag flag) override;

private:
    void Tab();
    void Dialog();
};

#endif //DIARYTOOL_REDMINE_TOOLS_VIEW_HPP
